<div class="shcart-bar">
    <div class="main2-content">
        <div class="logo fl"><a href="{:C(SITE_URL)}"><img src="__PUBLIC__/Mengwu/img/common/logo.png" alt="萌屋"></a> </div>
        <div class="lm fl"></div>
        <div class="shoping-cart fr" id="nav_scart">
            <a class="btn-cart" href="javascript:void(0);"></a>
            <div class="spct-slide">
                <div class="mask vertical-center-modal">
                    <div class="mw-modal-content vertical-center-modal"><div class="ant-spin ant-spin-spinning"><span class="ant-spin-dot ant-spin-dot-first"></span><span class="ant-spin-dot ant-spin-dot-second"></span><span class="ant-spin-dot ant-spin-dot-third"></span><div class="ant-spin-text">加载中...</div></div></div>
                </div>
                <notempty name="user_info">
                    <empty name="addons_spcart.carts">
                        <div class="empty">购物车里什么都没有哦~~</div>
                        <else />
                        <ul class="spli">
                            <volist name="addons_spcart.carts" id="vo">
                                <li data-id="{$vo.id}">
                                    <div class="spimg">
                                        <a href="{:U('mengwu/spdetail/index',array('id'=>$vo['p_id']))}" target="_blank"><img src="{$vo.icon_url}"></a>
                                    </div>
                                    <div class="spli-r">
                                        <div class="spli-t">
                                            <div class="cap"><a href="{:U('mengwu/spdetail/index',array('id'=>$vo['p_id']))}" target="_blank">{$vo.name}</a></div>
                                            <div class="pr"><em class="rmb">￥</em>{$vo.price}</div>
                                        </div>
                                        <div class="spli-b">
                                            <div class="sort">
                                                {$vo.sku_desc}
                                            </div>
                                            <div class="del"><a href="javascript:void(0);">删除</a></div>
                                        </div>
                                    </div>
                                </li>
                            </volist>
                        </ul>
                    </empty>
                    <div class="more-wrap">
                        <gt name="addons_spcart.count" value="6">
                            <div class="tip"><h3>购物车里还有{$addons_spcart['count']-6}件宝贝</h3></div>
                        </gt>
                        <a class="btn btn-2spcart" href="{:U('mengwu/spcart/index')}">查看我的购物车</a>
                    </div>
                    <else />
                    <div class="more-wrap">
                        <div class="tip"><h3>您还没有登录,请先<a href="{:U('mengwu/account/login')}">登录</a></h3></div>
                    </div>
                </notempty>
            </div>
        </div>
    </div>
</div>